function interpRedOutForAvg(imageHandle, polarity)
% INTERPREDOUT     Removes the red lines that can happen after calling pix2interp.
%
% 'polarity' is either -1 or 1
%
% Editing:
% created: gs 3/2004
% added to mapAverager may 2005
% ------------------------------------------------

M = get(imageHandle, 'CData');
M(isnan(M)) = polarity * inf;
set(imageHandle, 'CData', M);